#include "usbfunctions.h"
#include <stdio.h>

int main(int argc, char** argv){
	usb_dev_handle* handle = connect_device();
	
	uint8_t buffer[SAMPLE_COUNT];
	grabData(handle, buffer);
	int i;
	for(i=0;i<SAMPLE_COUNT;i++){
		printf("%d,", buffer[i]);
	}
	
	usb_close(handle);
	exit(0);
}
